package com.SMP.dao;

import com.SMP.model.Gradeclass;
import com.SMP.model.GradeclassExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface GradeclassMapper {
    long countByExample(GradeclassExample example);

    int deleteByExample(GradeclassExample example);

    int deleteByPrimaryKey(String id);

    int deleteByGrade(String grade);

    int insert(Gradeclass record);

    int insertSelective(Gradeclass record);

    List<Gradeclass> selectByExample(GradeclassExample example);

    Gradeclass selectByPrimaryKey(String id);

    List<Gradeclass> selGrade();

    List<Gradeclass> selectClass(String grade);

    int updateByExampleSelective(@Param("record") Gradeclass record, @Param("example") GradeclassExample example);

    int updateByExample(@Param("record") Gradeclass record, @Param("example") GradeclassExample example);

    int updateByPrimaryKeySelective(Gradeclass record);

    int updateByPrimaryKey(Gradeclass record);
}